package com.baoyouqun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "city", autoResultMap = true)
public class City implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "")
    private String id;

    @ApiModelProperty(value = "地区编码")
    private String code;

    @ApiModelProperty(value = "地区编码")
    private String name;

    @ApiModelProperty(value = "父级地区编码")
    private String parentCode;


}